package cn.wizzer.app.user.modules.services.account;

import cn.wizzer.app.user.modules.models.UserExchange;
import cn.wizzer.app.user.modules.models.enums.ExchangeEnum;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

public interface ExchangeService extends BaseService<UserExchange> {
    Pagination listPage(Integer pageNumber, int pageSize, String searchKeyword, String[] searchDate, ExchangeEnum status);

    Pagination listPage(Integer pageNumber, int pageSize, ExchangeEnum status, String userId);

    void add(UserExchange userExchange);

    void cancel(String id);
}
